#ifndef ERRORS_H
#define ERRORS_H

/** Error codes definitions. */
#define NO_MORE_OPTIONS		(-1)

/** Network calls. */
#define STATUS_ERR			(-1)
#define NO_DATA_TO_READ 	(-1)
#define SOCKET_ERROR 		(-1)
#define CONNECT_ERROR 		(-1)
#define BIND_ERROR 			(-1)
#define LISTEN_ERROR 		(-1)
#define ACCEPT_ERROR 		(-1)
#define SELECT_ERROR 		(-1)
#define SETSOCKOPT_ERROR	(-1)

/** Misc return values. */
#define STATUS_OK 			(0)
#define STATUS_ERR 			(-1)

#endif // !ERRORS_H
